package com.xk857.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 代取快递
 * </p>
 *
 * @author CV大魔王
 * @since 2021-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("school_courier")
@ApiModel(value="Courier对象", description="代取快递")
public class Courier implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "发布人id")
    private String userId;

    @ApiModelProperty(value = "发布人昵称")
    private String nickName;

    @ApiModelProperty(value = "发布人头像")
    private String userImg;

    @ApiModelProperty(value = "学校名称")
    private String schoolName;

    @ApiModelProperty(value = "收件人姓名")
    private String recipientName;

    @ApiModelProperty(value = "取件码")
    private String recipientId;

    @ApiModelProperty(value = "取件人联系方式")
    private String recipientPhone;

    @ApiModelProperty(value = "班级")
    private String className;

    @ApiModelProperty(value = "0删除 1发布 2代取中 3代取结束")
    private String staus;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "取快递地址")
    private String recipientAddress;

    @ApiModelProperty(value = "发布时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "结束时间")
    private Date completeTime;

    @ApiModelProperty(value = "帮忙取快递用户id")
    private String peopleId;

    @ApiModelProperty(value = "帮忙取快递用户昵称")
    private String peopleNick;

    @ApiModelProperty(value = "帮忙取快递用户头像")
    private String peopleImg;

    @ApiModelProperty(value = "帮忙取快递用户留言")
    private String peopleRemark;
}
